﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.IO;

using Might.Infrastructure.DOM;

namespace Might.UIControls.FileSystemBrowser {

    public delegate void DoubleClickEventHandler(
        object sender ,
        DoubleClickEventArgs e
    );
    
    public class DoubleClickEventArgs : EventArgs {
        public IDomNode DomItem { get; set; }
    }      

    public interface IFileSystemBrowserView {
        
        bool IsEnabled { get; set; }
               
        event DoubleClickEventHandler FSTreeDoubleClick;          

        void AddRoot(IUserInfo userInfo);

        void AddItem(IDomNode toItem, IDomNode item);
        
        void Clear();
        
    }
}
